package com.shopping.shoppingdemo;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RestController;
@Slf4j
@RestController
@MapperScan("com.shopping.shoppingdemo.mapper")
@SpringBootApplication
public class ShoppingDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShoppingDemoApplication.class, args);
        log.info("项目已启动，相关接口文档地址：http://localhost:8080/doc.html");
    }

}
